<h1><%= t :listuser%></h1>
	<% if notice %>
	<p id="notice" ><%= notice %></p>
	<% end %>
<table>
  <tr>
    <th><%= t :firstname%></th>
    <th><%= t :lastname%></th>
    <th><%= t :studentid%></th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @users.each do |user| %>
  <tr>
    <td><%= user.firstName %></td>
    <td><%= user.lastName %></td>
    <td><%= user.studentId %></td>
     
    <td><%= link_to t(:show), user %></td>
    <td><%= link_to t(:edit), edit_user_path(user) %></td>
    <td><%= link_to t(:destroy), user, confirm: t(:confirm), method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to t(:newuser), new_user_path %>
